package echat.future.cn.echat.my.bean;

/**
 * 钱包余额
 */
public class WalletInfo {
    /**
     * 钱包余额
     */
    private double wallet;
    /**
     * 可提现
     */
    private double canWithdraw;
    /**
     * 资产总额
     */
    private double totalAssets;

    public String getWallet() {
        if(wallet <0){
            return "0.0";
        }
        return String.valueOf(wallet);
    }

    public void setWallet(double wallet) {
        this.wallet = wallet;
    }

    public String getCanWithdraw() {
        if(canWithdraw<0){
            return "0.0";
        }
        return String.valueOf(canWithdraw);
    }

    public void setCanWithdraw(int canWithdraw) {
        this.canWithdraw = canWithdraw;
    }

    public String getTotalAssets() {
        if(totalAssets <0){
            return "0.0";
        }
        return String.valueOf(totalAssets);
    }

    public void setTotalAssets(int totalAssets) {
        this.totalAssets = totalAssets;
    }
}
